package com.lovo.roomProject.student.service.impl;

import com.lovo.roomProject.student.dao.StudenDAO;
import com.lovo.roomProject.student.dao.impl.StudentDAOImpl;
import com.lovo.roomProject.student.service.StudentService;

import java.util.List;

public class StudentServiceImpl implements StudentService {
    private StudenDAO studenDAO = new StudentDAOImpl();
    private StudenDAO studenDAO1 = new StudentDAOImpl();
    @Override
    public List listStudent() {
        return studenDAO.listStudent();
    }
}
